require 'list.rb'

l = list(open('f.htm'))
open('list.txt','w').puts l